package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.UnionPayInfo;
import com.kbbywyclient.data.entity.WeChatPayParams;
import com.kbbywyclient.ui.contarct.base.IBaseView;

/**
 * Created by cbb on 2017/4/18.
 */

public class RechargeContract {
    public interface View extends IBaseView{
        void onGetWeChatPayInfoSuccess(WeChatPayParams weChatPayParams);

        void onGetUnionPayInfoSuccess(UnionPayInfo UnionPayInfo);
    }

    public interface Presenter{
        /**
         *
         * @param SalesID 业务员id
         * @param LoginKey 设备标识[使用deviceToken]
         * @param payType 默认填1
         * @param money 充值金额
         */
        void getWeChatPayInfo(String SalesID,String LoginKey,String payType,String money);


        /**
         *
         * @param SalesID 业务员id
         * @param LoginKey 设备标识[使用deviceToken]
         * @param login_type 默认填1
         * @param money 充值金额
         */
        void getUnionPayInfo(String SalesID,String LoginKey,String login_type,String money);
    }
}
